<?php

namespace LowCode\Traits\Props;

use LowCode\Support\JsExp;

trait HasLocale
{
    /**
     * locale
     * @param string|JsExp $value
     * @return $this
     */
    public function locale(string|JsExp $value): static
    {
        return $this->prop("locale", $value);
    }

}
